home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / PROGEDIT / 2986.ZIP / QEDIT3C.ZIP / QCONFIG.DAT < prev    next >
Text File  |  1994-02-25  |  8KB  |  349 lines

  1. *
  2. *  QCONFIG.DAT:  Default config file for QEdit 3.0
  3. *
  4. *  Keys _must_ start in column 1.
  5. *
  6. *  Lines starting with '*' (like this one) are ignored.
  7. *
  8. *  To use enhanced keyboard keys (f11, f12, ^cursorup/down, etc) the
  9. *  'test for presence of enhanced keyboard' option _must_ be turned on by
  10. *  running qconfig.
  11. *
  12. *  Specify control-key commands via: ^f1 - This means Control-F1
  13. *  Specify alt-key commands via: @f1     - This means Alt-F1
  14. *  Specify shift-key commands via: #f1   - This means Shift-F1
  15. *
  16. *  There is also a provision for "two key commands".
  17. *  For example, to make the Control-F1, Control-F2 sequence issue the
  18. *  exit command, try the following:
  19. *
  20. *  ^f1_^f2     Exit
  21. *
  22. *  The key here is that the keys must be separated by a '_'.
  23. *
  24. *  Multiple commands and/or text may be assigned to a key (or a twokey).  To do
  25. *  so, simply place multiple commands after the key.  If the commands are to be
  26. *  continued on more than one line, then each suceeding line must start in
  27. *  column 2 or greater.  For example:
  28. *
  29. *  f1  EditFile 'help.dat' Return
  30. *
  31. *  This command would load the file 'help.dat'.  Note the return command is
  32. *  issued after the text.  This is required to terminate the QEdit prompt.
  33. *
  34. *  Following is a macro that will run MAKE and load the results into a window:
  35. *
  36. *  f1   EditFile 'errors.lst' Return
  37. *       Quit Dos 'make >errors.lst' Return Return
  38. *       HorizontalWindow EditFile 'errors.lst' Return
  39. *
  40. *  Following macro will run Turbo C on the current file:
  41. *
  42. *  f1   GSave Dos 'tcc -y -M ' CurrentFilename Return
  43. *
  44. *  Finally, you can also use the scancode to represent "special keys", as
  45. *  long as this key returns a ascii character code of 0.
  46. *  For example Alt-F9 returns an ascii character of 0 and a scan code of
  47. *  112 decimal.  To make Alt-F9 issue the EditFile command, you could:
  48. *
  49. *  112  EditFile
  50. *      or
  51. *  @f9  EditFile
  52. *
  53. *  Either will work.  This becomes especially useful if you have a macro
  54. *  processor and/or special keyboard that has extended keys that QEdit
  55. *  doesn't have names for.  This gives you a method to use them.
  56. *
  57. *  Note that the order of this file is NOT important.  Arrange it however
  58. *  makes sense to you.
  59. *
  60.  
  61. *
  62. * function key set
  63. *
  64.  
  65. f1               QuickHelp
  66. f2               AddLine
  67. f3               GPQuit
  68. f4               DupLine
  69. f5               MakeTopOfScreen
  70. f6               DelToEol
  71. f7               MarkBlockBegin
  72. f8               MarkBlockEnd
  73. f9               Shell
  74. f10
  75.  
  76. * enhanced keyboard only
  77. f11
  78. f12
  79.  
  80. #f1              ToggleBoxDraw
  81. #f2
  82. #f3              Sort
  83. #f4
  84. #f5              MakeCtrOfScreen
  85. #f6
  86. #f7              ShiftLeft
  87. #f8              ShiftRight
  88. #f9
  89. #f10
  90.  
  91. * enhanced keyboard only
  92. #f11
  93. #f12
  94.  
  95. ^f1              ToggleEGA43
  96. ^f2
  97. ^f3
  98. ^f4
  99. ^f5
  100. ^f6
  101. ^f7
  102. ^f8
  103. ^f9
  104. ^f10
  105.  
  106. * enhanced keyboard only
  107. ^f11
  108. ^f12
  109.  
  110. @f1              ToggleBoxType
  111. @f2              InsertLine
  112. @f3              Match
  113. @f4
  114. @f5              ScreenLeft
  115. @f6              ScreenRight
  116. @f7
  117. @f8
  118. @f9              Dos
  119. @f10             ShowEntryScreen
  120.  
  121. * enhanced keyboard only
  122. @f11
  123. @f12
  124.  
  125. *
  126. * special keys
  127. *
  128.  
  129. cursorup         CursorUp
  130. cursordown       CursorDown
  131. cursorleft       CursorLeft
  132. cursorright      CursorRight
  133. ^cursorleft      WordLeft
  134. ^cursorright     WordRight
  135. home             BegLine
  136. end              EndLine
  137. ^home            BegScreen
  138. ^end             EndScreen
  139. pgup             PageUp
  140. pgdn             PageDown
  141. ^pgdn            EndFile
  142. ^pgup            BegFile
  143.  
  144. #tab             TabLt
  145. tab              TabRt
  146.  
  147. ins              ToggleInsert
  148. del              DelCh
  149.  
  150. backspace        Backspace
  151. ^backspace       DelLtWord
  152.  
  153. enter            Return
  154. ^enter           ExecuteScrap
  155.  
  156. escape           Escape
  157.  
  158. grey*            Paste
  159. grey+            Copy
  160. grey-            Cut
  161. #del
  162. #ins
  163. `
  164. ~
  165. /
  166.  
  167. ^prtsc           PasteOver
  168. ^2
  169. ^6
  170. ^[
  171. ^\
  172. *
  173. * Macro to edit the file whose name is sitting at the cursor in the editor
  174. *
  175. ^]                 AltWordSet MarkWord jFalse done: Copy EditFile Paste
  176.                 Return done: DefaultWordSet
  177.  
  178. ^-                 GetPrev
  179.  
  180. *
  181. * alternate keys
  182. *
  183.  
  184. @a               DropAnchor
  185. @b               WrapPara
  186. @c               CopyBlock
  187. @d               DelLine
  188. @e               EditFile
  189. @f               MainMenu 'f'
  190. @g               DeleteBlock
  191. @h               QuickHelp
  192. @i               ToggleTabsOut
  193. @j               JoinLine
  194. @k               MarkColumn
  195. @l               MarkLine
  196. @m               MoveBlock
  197. @n               NextFile
  198. @o               ChangeFilename
  199. @p               MainMenu 'p'
  200. @q               MainMenu 'q'
  201. @r               ReadBlock
  202. @s               SplitLine
  203. @t
  204. @u               UnmarkBlock
  205. @v               ToggleTabsExpand
  206. @w               WriteBlock
  207. @x               GExit
  208. @y               GSave
  209. @z               CopyOverBlock
  210. @1               Upper
  211. @2               Lower
  212. @3               Flip
  213. @4
  214. @5
  215. @6
  216. @7
  217. @8
  218. @9
  219. @0
  220. @-
  221. @=              MarkWord MacroQuitFalse Copy Find Paste Return Return
  222.  
  223. *
  224. * control keys
  225. *
  226.  
  227.  
  228. ^a               WordLeft
  229. ^b_a             AppendScrBuff
  230. ^b_d             DelScrBuff
  231. ^b_l             GetScrBuff
  232. ^b_s             StoreScrBuff
  233. ^c               PageDown
  234. ^d               CursorRight
  235. ^e               CursorUp
  236. ^f               WordRight
  237. ^g               DelCh
  238. ^h               Backspace
  239. ^i               TabRt
  240. ^j               GotoLine
  241. ^k_b             MarkBlockBegin
  242. ^k_c             CopyBlock
  243. ^k_d             Exit
  244. ^k_e             EditFile
  245. ^k_f             ChangeFilename
  246. ^k_h             UnmarkBlock
  247. ^k_k             MarkBlockEnd
  248. ^k_l             FillBlock
  249. ^k_n             NextFile
  250. ^k_p             PrevFile
  251. ^k_q             PQuit
  252. ^k_r             ReadBlock
  253. ^k_s             SaveFile
  254. ^k_t             MarkWord
  255. ^k_v             MoveBlock
  256. ^k_w             WriteBlock
  257. ^k_x             File
  258. ^k_y             DeleteBlock
  259. ^k_z             KillFile
  260. ^l               RepeatFind
  261. ^m               MacroRecord
  262. ^n               SplitLine
  263. ^o_c             CloseWindow
  264. ^o_g             GrowWindow
  265. ^o_h             HorizontalWindow
  266. ^o_l             SetPrintLeftMargin
  267. ^o_n             NextWindow
  268. ^o_o             OneWindow
  269. ^o_p             PrevWindow
  270. ^o_r             SetRMargin
  271. ^o_s             ShrinkWindow
  272. ^o_t             CenterLine
  273. ^o_w             ToggleWordWrap
  274. ^o_z             ZoomWindow
  275. ^p               Literal
  276. ^q_a             FindReplace
  277. ^q_b             GotoBlockBeg
  278. ^q_c             EndFile
  279. ^q_d             EndLine
  280. ^q_e             BegScreen
  281. ^q_f             Find
  282. ^q_i             ToggleIndent
  283. ^q_k             GotoBlockEnd
  284. ^q_l             UndoCursorline
  285. ^q_p             PrevPosition
  286. ^q_q             RepeatCmd
  287. ^q_r             BegFile
  288. ^q_s             BegLine
  289. ^q_t             ToggleSmartTabs
  290. ^q_x             EndScreen
  291. ^q_y             DelToEol
  292. ^r               PageUp
  293. ^s               CursorLeft
  294. ^t               DelRtWord
  295. ^u               UnKill
  296. ^v               ToggleInsert
  297. ^w               ScrollUp
  298. ^x               CursorDown
  299. ^y               DelLine
  300. ^z               ScrollDown
  301.  
  302. *
  303. * other enhanced only keys
  304. *
  305. @'
  306. @,
  307. @.
  308. @/
  309. @;
  310. @[
  311. @\
  312. @]
  313. @`
  314. @backspace
  315. @enter
  316. @escape
  317. @grey*
  318. @grey+
  319. @grey-
  320. @grey/
  321. @greycursordown
  322. @greycursorleft
  323. @greycursorright
  324. @greycursorup
  325. @greydel
  326. @greyend
  327. @greyhome
  328. @greyins
  329. @greypgdn
  330. @greypgup
  331. @greyenter
  332. @tab
  333.  
  334. greyenter        Return
  335. ^greyenter       ExecuteScrap
  336. ^centercursor
  337. ^cursordown      LineDown
  338. ^cursorup        LineUp
  339. ^del
  340.  
  341. ^grey*
  342. ^grey+
  343. ^grey-
  344. ^grey/
  345. ^ins
  346. ^tab
  347.  
  348. centercursor
  349.